﻿namespace EasyToolkit.BindingTemplates.Views
{
    using System;
    using System.Collections.Generic;
    using EasyToolkit.BindingTemplates.Context;
    using EasyToolkit.BindingTemplates.Definitions;
    using EasyToolkit.BindingTemplates.SortAndFilter;

    public interface IRootTemplateView : ITemplateView
    {
        Dictionary<ITemplateDefinition, ISortAndFilter> SortsAndFilters { get; set; }

        object GetDataSource();
        void SetDataSource(object dataSource);
        //void Render();
        //void RenderDataOnly();
        //void Clear();
        void ApplyFilter();
    }
}
